package com.code.platform.common.utils;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * 时间工具类
 *
 * @author liuyj
 * @create 2017-07-05 16:05
 **/
public class DateUtil {


    public static void main(String[] args) {
        LocalDate today = LocalDate.now();
        LocalTime time = LocalTime.now();
        LocalTime timePlus = time.plusHours(2);
        System.out.println("args = [" + today + "]");
        System.out.println("args = [" + time + "]");
        System.out.println("args = [" + timePlus + "]");
        System.out.println("args = [" + 3*0.1 + "]");
    }


}
